package com.company.cloud.acct.modules.base.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.company.cloud.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 2_账户明细信息表 
 * </p>
 *
 * @author anros
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("acct_account_detail_info")
public class AccountDetailInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
     @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    /**
     * 公司编号
     */
     @ApiModelProperty(value = "公司编号")
      private String companyNo;

    /**
     * 用户ID
     */
     @ApiModelProperty(value = "用户ID")
      private Integer userId;

    /**
     * 账户分类
     */
     @ApiModelProperty(value = "账户分类")
      private String type;

    /**
     * 生效(获取)金额
     */
     @ApiModelProperty(value = "生效(获取)金额")
      private BigDecimal validityFund;

    /**
     * 生效时间
     */
     @ApiModelProperty(value = "生效时间")
      private LocalDateTime validityDate;

    /**
     * 生效状态
     */
     @ApiModelProperty(value = "生效状态")
      private String validityState;

    /**
     * 生效关联业务流水分类
     */
     @ApiModelProperty(value = "生效关联业务流水分类")
      private String validityRelObjType;

    /**
     * 生效关联业务流水号
     */
     @ApiModelProperty(value = "生效关联业务流水号")
      private String validityRelObjNo;

    /**
     * 消费金额
     */
     @ApiModelProperty(value = "消费金额")
      private BigDecimal consumeFund;

    /**
     * 消费时间
     */
     @ApiModelProperty(value = "消费时间")
      private LocalDateTime consumeDate;

    /**
     * 消费关联业务流水分类
     */
     @ApiModelProperty(value = "消费关联业务流水分类")
      private String consumeRelObjType;

    /**
     * 消费关联业务流水号
     */
     @ApiModelProperty(value = "消费关联业务流水号")
      private String consumeRelObjNo;

    /**
     * 过期金额
     */
     @ApiModelProperty(value = "过期金额")
      private BigDecimal overdueFund;

    /**
     * 过期时间
     */
     @ApiModelProperty(value = "过期时间")
      private LocalDateTime overdueDate;

    /**
     * 过期状态
     */
     @ApiModelProperty(value = "过期状态")
      private String overdueState;

    /**
     * 过期关联业务流水分类
     */
     @ApiModelProperty(value = "过期关联业务流水分类")
      private String overdueRelObjType;

    /**
     * 过期关联业务流水号
     */
     @ApiModelProperty(value = "过期关联业务流水号")
      private String overdueRelObjNo;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 更新人
     */
     @ApiModelProperty(value = "更新人")
      private Integer eman;

    /**
     * 更新时间
     */
     @ApiModelProperty(value = "更新时间")
      private LocalDateTime edt;

    /**
     * 更新人IP
     */
     @ApiModelProperty(value = "更新人IP")
      private String eip;


}
